package com.lgw.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lgw.demo.dao.UserMapper;
import com.lgw.demo.pojo.User;

import java.util.List;

public interface UserServcie {

    public List<User> getAllUser();

    public int addUser(User user);

    public int deleteUserById(Integer id);

    public int updateUser(User user);

    public List<User> searchUserByName(String name);
}
